package com.java.module.cms.domain;

import com.java.common.lang.annotation.Excel;
import com.java.common.lang.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 基础：基数数据对象 cms_data
 * 
 * @author Administrator
 * @date 2021-04-19
 */
public class Data extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long did;

    /** 类型：0基础数据 1获得积分值  2对公账号 */
    @Excel(name = "类型：0基础数据 1获得积分值  2对公账号")
    private Integer type;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String values;

    /** 排序 */
    @Excel(name = "排序")
    private Long px;

    /** 删除标志（0默认 1删除） */
    private Integer delFlag;

    public void setDid(Long did) 
    {
        this.did = did;
    }

    public Long getDid() 
    {
        return did;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setValues(String values) 
    {
        this.values = values;
    }

    public String getValues() 
    {
        return values;
    }
    public void setPx(Long px) 
    {
        this.px = px;
    }

    public Long getPx() 
    {
        return px;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("did", getDid())
            .append("type", getType())
            .append("title", getTitle())
            .append("values", getValues())
            .append("px", getPx())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
